package com.winai.launcher.constant;

import android.bluetooth.BluetoothDevice;

/**
 * 作者：康少
 * 时间：2019/11/28 0028
 * 说明：屏保参数
 */
public class Constant {
    public static int ONE = 60 * 1000;//测试
    public static final int HOUR = 60 * 60 * 1000;
    public static final int DAY = 24 * 60 * 60 * 1000;

    public static int LIVE_STATE = 100;//直播默认状态值
    public static int LIVE_NOT_START = 1000;//直播未开始
    public static int LIVE_START = 1001;//直播开始
    public static int LIVE_END = 1002;//直播结束
    public static int RESULT_LINK_WIFI = 211;//连接Wifi

    public static boolean checkUpdate = true; //常量参数，决定调用阿里云接口的次数。勿动！！！
    public static boolean isPlayVideo = false; //是否正在播放艾益生视频
    public static boolean upgrading = false; //是否正在升级

    public static boolean bluetoothLinked = false;//当前设备是否有蓝牙连接
    public static BluetoothDevice operationDevice = null;//当前操作的蓝牙设备

    public static boolean isTimeInited = false;//开机时间是否初始化完成

    public static String RECEIVER_ACTION = "com.winai.system.action.isPullDown";//systemui下拉
    //    public static String RECEIVER_ACTION = "com.winai.launcher.systemui.action.pulldown";//systemui下拉
    public static String RECEIVER_LAUNCHER_START = "com.winai.system.bootAnimStop";//通知系统开机动画结束
    //    public static String RECEIVER_LAUNCHER_START = "com.winai.launcher.LAUNCHERSTART";
    public static String MEDIA_SYSTEM_UI = "com.winai.launcher.systemui.action.media.control";
    public static String ACTION_UPGRADE = "com.android.update.service.winsideUpgrade";
    public static String EXTRA_UPGRADE_PATH = "com.android.update.service.request_update.path";

    public static final String action_aiyisheng_dialog = "com.aiyisheng.speaker.action.dialog";//对话
    public static final String action_aiyisheng_text_speech = "com.aiyisheng.speaker.action.text_speech";//播报
    public static final String action_aiyisheng_listening_control = "com.winai.launcher.action.aiyisheng.listening.control";//艾益生主动控制ASR识别引擎
    public static final String action_aiyisheng_listening_result = "com.winai.launcher.action.aiyisheng.listening.result";//通知艾益生ASR识别结果


    public static final String AYS_SYSTEM = "ays.speaker.action.system";//艾益生系统语音控制——广播Action
    public static final String SPEECH_CENTER_CONTROL = "speech.center.control.action";//思必驰中控语音控制——广播Action
    public static final String SystemOpenWifi = "DUI.System.NetWork.OpenWIFI";//中控-打开WiFi界面
    public static final String SystemConnectWifi = "DUI.System.NetWork.ConnectWIFI";//中控-打开WiFi界面
    public static final String SystemOpenSettings = "DUI.System.OpenSettings";//中控-打开设置界面
    public static final String SystemGoBack = "DUI.System.GoBack";//中控-返回
    public static final String center_control_action = "android.com.winai.launcher.action.center_control";//中控获取的信息
    public static final String MediaCtrlCurrentInfo = "ks.com.winai.launcher.action.media.ctrl.current_info";//媒体信息
    //    public static final String SpeechActionReminder = "speech.speaker.action.reminder";//思必驰提醒
    public static final String SpeechActionSystemControl = "speech.speaker.action.system.control";//思必驰中控控制
    public static final String SpeechActionReminderAdd = "speech.speaker.action.launcherToAi.reminder.add";//思必驰添加提醒
    public static final String SpeechActionReminderUpdate = "speech.speaker.action.launcherToAi.reminder.update";//思必驰修改提醒
    public static final String SpeechActionReminderRemove = "speech.speaker.action.launcherToAi.reminder.remove";//思必驰删除提醒
    public static final String SpeechActionMediaController = "speech.speaker.action.media.controller";//思必驰播放控制

    public static final String ACTION_PLAY_CONTROL_COMMAND = "com.aiyisheng.speaker.PLAY_CONTROL_COMMAND";//播放控制-中转艾益生
    public static final String SpeechActionMp3Controller = "android.com.winside.ai.action.playMedia";//媒体播放-音频

    public static final String ACTION_PLAY_QQMUSIC_CONTROL_COMMAND = "com.winside.launcher.action.command.qqmusic";//广播通知ai，控制播放qq音乐
    public static final String MediaControllerStop = "DUI.MediaController.Stop";//QQ音乐播放控制-停止播放

    public static final String ACTION_TOGGLE_WAKEUP = "com.winside.launcher.action.toggle.wakeup";//广播通知ai，控制唤醒开关

    public static final String ACTION_GET_VERSION = "com.winside.launcher.action.ai.version";//广播通知ai，获取内核版本号
    public static final String ACTION_AI_VERSION = "com.winside.ai.action.ai.version";//广播通知launcher，告知内核版本号

    public static final String ACTION_OBSERVER_MESSAGE = "ays.action.observer.message";//通知launcher通过aidl发送message数据给到艾益生
    public static final String ACTION_OBSERVER_COMMAND = "ays.action.observer.command";//通知launcher通过aidl发送command数据给到艾益生
    public static final String action_aiyisheng_login = "com.winai.launcher.action.aiyisheng.login";//艾益生登录
    public static final String ACTION_WINSIDEAI_AUTH_SUCCESS = "winsideai.intent.action.auth_success";//ai认证成功
    public static final String ACTION_WINSIDEAI_INIT_SUCCESS = "winsideai.intent.action.init_complete";//ai初始化成功

    public static final String ACTION_DIALOG_STATUS = "com.winside.ai.action.dialog.status";//IP形象状态
    public static final String ACTION_SPEECH_COMPLETE = "com.winai.launcher.action.speak.complete";//语音播报结束广播

    public static final String ACTION_BLUETOOTH_STATE_ON = "com.winai.launcher.action.bluetooth.state.on";//蓝牙打开
    public static final String ACTION_BLUETOOTH_STATE_OFF = "com.winai.launcher.action.bluetooth.state.off";//蓝牙关闭
    public static final String ACTION_BLUETOOTH_SCAN_START = "com.winai.launcher.action.bluetooth.scan.start";//蓝牙扫描开始
    public static final String ACTION_BLUETOOTH_SCAN_COMPLETE = "com.winai.launcher.action.bluetooth.scan.complete";//蓝牙扫描完成
    public static final String ACTION_BLUETOOTH_FIND_ONE = "com.winai.launcher.action.bluetooth.find.one";//蓝牙扫描到一台设备
    public static final String ACTION_BLUETOOTH_DEVICE_CONNECTED = "com.winai.launcher.action.bluetooth.device.connected";//蓝牙设备已连接
    public static final String ACTION_BLUETOOTH_DEVICE_DISCONNECTED = "com.winai.launcher.action.bluetooth.device.disconnected";//蓝牙设备已断开连接
    public static final String ACTION_BLUETOOTH_DEVICE_CONNECTING = "com.winai.launcher.action.bluetooth.device.connecting";//蓝牙设备正在连接
    public static final String ACTION_BLUETOOTH_BOND_STATE_CHANGED = "com.winai.launcher.action.bluetooth.bond_state_changed";//蓝牙设备绑定状态改变

    public static final String ACTION_NETWORK_STATE_CHANGED = "com.winai.launcher.action.network_changed";//网络连接状态改变
    public static final String ACTION_CONTROL_DEVICE = "action.control.device";//语音操作仪器

    public static final String action_startAct = "com.winai.systemui.startAct";//从SystemUI执行跳转
//    public static final String action_startAct = "com.winai.launcher.action.startAct";//从SystemUI执行跳转

    public static final String action_alarm = "com.aiyisheng.speaker.action.alarm";//闹钟广播
    public static final String ACTION_USER_INFO = "com.aiyisheng.speaker.action.user_info";//levelId 用户等级为1时为普通用户隐藏销售培训，其他值显示销售培训
    public static final String ACTION_USER_INFO_Launcher = "com.winai.launcher.action.user_info";//levelId 用户等级为1时为普通用户隐藏销售培训，其他值显示销售培训
}
